package com.example.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.product.entity.GoodsStock;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GoodsStockService extends IService<GoodsStock> {
    //新增
    void add(GoodsStock goodsStock);

    //删除
    void deleteById(Integer id);

    //修改
    GoodsStock selectById(Integer id);

    List<GoodsStock> selectAll(GoodsStock goodsStock);

    PageInfo<GoodsStock> selectPage(GoodsStock goodsStock, Integer pageNum, Integer pageSize);

}